#ifndef __LIB_AGORA_ADMIN_DBVALUE_H__
#define __LIB_AGORA_ADMIN_DBVALUE_H__

#include "IDbValue.h"

class	DbValue : public IDbValue
{
public:
	DbValue(int value);
	DbValue(double value);
	DbValue(const std::string& value);
	IDbValue::DbValueType	GetType(void) const;
	const bool				GetValueBool(void) const;
	const int				GetValueInt(void) const;
	const double			GetValueDouble(void) const;
	const std::string&		GetValueString(void) const;

private:
	IDbValue::DbValueType	_type;
	int						_valueInt;
	double					_valueDouble;
	std::string				_valueString;
};

#endif
